import request from '@/utils/request'

//  新增 system/post/salary/add
export function addSalary(data) {
    return request({
        url: '/system/post/salary/add',
        method: 'post',
        data: data
    })
}

// 删除 system/post/salary/delete

export function deleteSalary(data) {
    return request({
        url: '/hrm/salaryData/post/delete',
        method: 'get',
        params: data
    })
}

// 修改 system/post/salary/update 
export function updateSalary(data) {
    return request({
        url: '/hrm/salaryData/post/update',
        method: 'post',
        data: data
    })
}
// 查询 system/get/salary/list
export function getSalaryList(data) {
    return request({
        url: 'system/post/salary/query/all',
        method: 'post',
        params: data
    })
}




